package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

public interface OrderService {
    //保存
    void save(Order order);

    //查找历史订单
    Page<Order> findByPage(Integer pageNum, Integer pageSize);

    //查询订单详细
    Page<Order> findAll(Integer pageNum, Integer pageSize,String number, String beginTime, String endTime);
}
